﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WordpressFeaturedImagePlugin
{
    public partial class frmPassword : Form
    {
        public frmPassword(string blogName)
        {
            InitializeComponent();
            Text = string.Format("Enter you blog password for {0}", blogName);
        }

        public string Password
        {
            get { return txbxPassword.Text; }
        }

        public bool SavePassword
        {
            get { return chbxPassword.Checked; }
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.OK;
            Close();
        }
    }
}
